package com.reins.bookstore.object;
import lombok.Data;

import java.math.BigDecimal;
import java.util.LinkedList;
import java.util.List;

@Data
public class OneBookList {
    // 单一种类的书籍订单的数据类型
    private Integer bookId;
    private Integer bookNum;
    private BigDecimal bookPrice;
    public OneBookList(){}
    public OneBookList(Integer bookNum, Integer bookId, BigDecimal bookPrice)
    {
        this.bookId = bookId;
        this.bookNum = bookNum;
        this.bookPrice = bookPrice;
    }

    public BigDecimal getBookPrice() {
        return bookPrice;
    }

    public Integer getBookId() {
        return bookId;
    }

    public Integer getBookNum() {
        return bookNum;
    }
}
